<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1">
<title>来电</title>
<script src="/static/bootstrap-3.3.5-dist/jquery.min.js"></script>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript" src="/static/js/comm.js"></script>
<script src="/static/js/pingpp_pay.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/js/prompt.js"></script>
<script type="text/javascript" src="/static/js/buy.js"></script>
<link rel="stylesheet" type="text/css" href="/static/css/buy.css?v=1.0">
<link rel="stylesheet" type="text/css" href="/static/css/common.css">
</head>
<body>
	<div class="borrow">
<!-- 		<#if buyType == 1>
			<span>借充电宝需要100元 押金</span>
		<#elseif buyType == 2>
			<span>购买数据线需要支付 10元</span>
		<#elseif buyType == 3>
			<span>购买数据线需要支付 10元</span>
		<#elseif buyType == 4>
			<span>购买数据线需要支付 10元</span>			
		</#if>
		<br/> -->
		<#if buyType == 1>
			<img class="borrowTag" src="/static/images/powerbank_qian.png">
			<button class="scan" style="background:url(/static/images/borrow1.png) no-repeat;background-size:100% 100%" ></button>
			<br/>
			<img class="borrowFont" src="/static/images/txt_01.png">
		<#elseif buyType == 2>
			<img class="borrowTag" src="/static/images/xian_qian.png">
			<button class="scan" style="background:url(/static/images/buyline1.png) no-repeat;background-size:100% 100%" ></button>
			<br/>
			<img class="borrowFont" src="/static/images/txt_03.png">
		<#elseif buyType == 3>
			<img class="borrowTag" src="/static/images/xian_qian.png">
			<button class="scan" style="background:url(/static/images/buyline1.png) no-repeat;background-size:100% 100%" ></button>
			<br/>
			<img class="borrowFont" src="/static/images/txt_02.png">
		<#elseif buyType == 4>
			<img class="borrowTag" src="/static/images/xian_qian.png">
			<button class="scan" style="background:url(/static/images/buyline1.png) no-repeat;background-size:100% 100%" ></button>
			<br/>
			<img class="borrowFont" src="/static/images/txt_04.png">	
		</#if>
		
	</div>	
	<img class="line" src="/static/images/line_-01.png">
	<div class="content">
		<div>
			<h1>操作指南</h1>
		</div>
			<#if buyType == 1>
				<span>1、每租一台充电宝需要 100元 押金</span>
				<div class="present">
				<span class="font1">【归还后押金自动返还到账户】</span>
				<br/>
				<span class="font2">首次体验，送10元，可用于购买数据线。</span>
			</div>
			<#elseif buyType == 2>
				<span>1、每条数据线购买需要10元</span>
				<div class="present">
					<span class="font1">【数据线不属于租借，购买后无需归还】</span>
					<br/>
					<span class="font2">首次体验借充电宝，送10元购买数据线。</span>
				</div>
			<#elseif buyType == 3>
				<span>1、每条数据线购买需要10元</span>
				<div class="present">
					<span class="font1">【数据线不属于租借，购买后无需归还】</span>
					<br/>
					<span class="font2">首次体验借充电宝，送10元购买数据线。</span>
				</div>
			<#elseif buyType == 4>
				<span>1、每条数据线购买需要10元</span>
				<div class="present">
					<span class="font1">【数据线不属于租借，购买后无需归还】</span>
					<br/>
					<span class="font2">首次体验借充电宝，送10元购买数据线。</span>
				</div>			
			</#if>								
		<br/>
		<span>2、点击"来电终端机"屏幕上的【借】</span>
		<br/>
		<br/>
		<#if buyType == 1>
			<span>3、扫描二维码即可借入充电宝</span>
		<#elseif buyType == 2>
			<span>3、扫描二维码即可购买充电线</span>		
		<#elseif buyType == 3>
			<span>3、扫描二维码即可购买充电线</span>
		<#elseif buyType == 4>
			<span>3、扫描二维码即可购买充电线</span>			
		</#if>		


	</div>

	<input class="access_token" type="hidden" value="${access_token}">
	<input class="money" type="hidden" value="${money}">
	<input class="buyType" type="hidden" value="${buyType}">
	<input class="presentMoneyTimes" type="hidden" value="${presentMoneyTimes}">
	<div class="buyLoading">
		<img class="loading" src="/static/images/loding.gif">
		<br/>
		<span>正在处理中</span>
	</div>
	<div class="prompt">
		<div class="message">
	<!-- 		<p>
				<span class="font1">余额不足</span>
				<br/>
				<span class="font2">借充电宝需要100元押金</span>
				<br/>
				<span class="font3">首次体验，送10元，可用于购买数据线</span>
			</p> -->
		</div>
		<div class="select">
			<div class="no">
				<span>取消</span>
			</div>
			<div class="yes">
				<span>充值</span>
			</div>
		</div>	
	</div>	
	<div class="promptBg">
		
	</div>	
	<div class="prompt2">
		<div class="message">
<!-- 			<img src="/static/images/tub-02.png">
			<p>租借成功！</p> -->
		</div>
	</div>			
</body>
</html>